<?php defined('IN_IA') or exit('Access Denied');?><?php (!empty($this) && $this instanceof WeModuleSite || 1) ? (include $this->template('common/header', TEMPLATE_INCLUDEPATH)) : (include template('common/header', TEMPLATE_INCLUDEPATH));?>
<?php (!empty($this) && $this instanceof WeModuleSite || 1) ? (include $this->template('nav', TEMPLATE_INCLUDEPATH)) : (include template('nav', TEMPLATE_INCLUDEPATH));?>
<div class="panel panel-warning">
	<div class="panel-heading">
		活动链接列表<br><br>
		如何操作:<br><br>
		1 . 添加图文消息 设置相应的关键词 图文链接通过通过点击下面的链接 复制链接过去！<br><br>
		2 . <font color=red>非认证服务号</font>必须借用认证服务号才能使用 功能选项->借用ouath<br><br>
	</div>
</div>
<div class="panel panel-warning">
	<div class="panel-heading">
		编辑活动内容<br><br>
		<a class="btn btn-warning btn-sm" href="<?php  echo url('platform/reply/post', array('m' =>'meepo_xianchang', 'rid' =>$id))?>" ><i class="fa fa-edit"></i>编辑微现场</a>         
	</div>
</div>

<?php  if(is_array($xianchang['controls'])) { foreach($xianchang['controls'] as $row) { ?>
  <?php  if($row=='qd') { ?>
  <div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>签到</strong>
						</p>
						<p><strong>pc签到地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('qd',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('qd',array('rid'=>$id)))?></a></p>
						<br>
						<p class="weixin"><strong>微信签到地址: </strong> <a href="javascript:;" style="color:#66667C;"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('app_qd',array('rid'=>$id)))?></a></p>
						<img src="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('makeqrcode',array('url'=>$this->createMobileUrl('app_qd',array('rid'=>$rid)))))?>" class="img-responsive img-thumbnail" width="150" onerror="this.src='resource/images/gw-wx.gif'">
						
					</div>
					<!--div class="col-sm-2 text-right">
					是否开启此项:
						<input type="checkbox" name="flag" value="<?php  if($ridwall['baheshow']==1) { ?>1<?php  } else { ?>0<?php  } ?>" <?php  if($ridwall['baheshow']==1) { ?>checked<?php  } ?> data-type="bahe"/>
					</div-->
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='redpack') { ?>
  <div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>抢红包</strong>
						</p>
						<p><strong>pc抢红包地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('redpack',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('redpack',array('rid'=>$id)))?></a></p>
						<br>
						<p class="weixin"><strong>微信抢红包地址: </strong> <a href="javascript:;" style="color:#66667C;"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('app_redpack',array('rid'=>$id)))?></a></p>
						<img src="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('makeqrcode',array('url'=>$this->createMobileUrl('app_redpack',array('rid'=>$rid)))))?>" class="img-responsive img-thumbnail" width="150" onerror="this.src='resource/images/gw-wx.gif'">
						
					</div>
					<!--div class="col-sm-2 text-right">
					是否开启此项:
						<input type="checkbox" name="flag" value="<?php  if($ridwall['baheshow']==1) { ?>1<?php  } else { ?>0<?php  } ?>" <?php  if($ridwall['baheshow']==1) { ?>checked<?php  } ?> data-type="bahe"/>
					</div-->
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='jb') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>嘉宾</strong>
						</p>
						<p><strong>pc嘉宾展示地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('jb',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('jb',array('rid'=>$id)))?></a></p>
						
					</div>
					<!--div class="col-sm-2 text-right">
					是否开启此项:
						<input type="checkbox" name="flag" value="<?php  if($ridwall['baheshow']==1) { ?>1<?php  } else { ?>0<?php  } ?>" <?php  if($ridwall['baheshow']==1) { ?>checked<?php  } ?> data-type="bahe"/>
					</div-->
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='wall') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>文字上墙</strong>
						</p>
						<p><strong>pc文字上墙地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('wall',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('wall',array('rid'=>$id)))?></a></p>
						<p class="weixin"><strong>微信文字上墙地址：: </strong> <a href="javascript:;" style="color:#66667C;"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('app_wall',array('rid'=>$id)))?></a></p>
						<img src="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('makeqrcode',array('url'=>$this->createMobileUrl('app_wall',array('rid'=>$rid)))))?>" class="img-responsive img-thumbnail" width="150" onerror="this.src='resource/images/gw-wx.gif'">
					</div>
					<!--div class="col-sm-2 text-right">
					是否开启此项:
						<input type="checkbox" name="flag" value="<?php  if($ridwall['baheshow']==1) { ?>1<?php  } else { ?>0<?php  } ?>" <?php  if($ridwall['baheshow']==1) { ?>checked<?php  } ?> data-type="bahe"/>
					</div-->
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='pic') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>照片上墙</strong>
						</p>
						<p><strong>pc照片上墙地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('pic',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('pic',array('rid'=>$id)))?></a></p>
						<br>
						<p class="weixin"><strong>微信照片上墙地址：</strong> <a href="javascript:;" style="color:#66667C;"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('app_wall',array('rid'=>$id)))?></a></p>
						<img src="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('makeqrcode',array('url'=>$this->createMobileUrl('app_wall',array('rid'=>$rid)))))?>" class="img-responsive img-thumbnail" width="150" onerror="this.src='resource/images/gw-wx.gif'">
					</div>
					<!--div class="col-sm-2 text-right">
					是否开启此项:
						<input type="checkbox" name="flag" value="<?php  if($ridwall['baheshow']==1) { ?>1<?php  } else { ?>0<?php  } ?>" <?php  if($ridwall['baheshow']==1) { ?>checked<?php  } ?> data-type="bahe"/>
					</div-->
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='photo') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>相册</strong>
						</p>
						<p><strong>pc相册地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('qd',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('qd',array('rid'=>$id)))?></a></p>
						<br>
						<p class="weixin"><strong>微信相册地址：: </strong> <a href="javascript:;" style="color:#66667C;"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('qd',array('rid'=>$id)))?></a></p>
						<img src="http://qr.liantu.com/api.php?text=<?php  echo urlencode(str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('qd',array('rid'=>$id))))?>" class="img-responsive img-thumbnail" width="150" onerror="this.src='resource/images/gw-wx.gif'">
					</div>
					<!--div class="col-sm-2 text-right">
					是否开启此项:
						<input type="checkbox" name="flag" value="<?php  if($ridwall['baheshow']==1) { ?>1<?php  } else { ?>0<?php  } ?>" <?php  if($ridwall['baheshow']==1) { ?>checked<?php  } ?> data-type="bahe"/>
					</div-->
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='vote') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>投票</strong>
						</p>
						<p><strong>pc投票地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('vote',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('vote',array('rid'=>$id)))?></a></p>
						<br>
						<p class="weixin"><strong>微信投票地址：: </strong> <a href="javascript:;" style="color:#66667C;"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('app_vote',array('rid'=>$id)))?></a></p>
						<img src="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('makeqrcode',array('url'=>$this->createMobileUrl('app_vote',array('rid'=>$rid)))))?>" class="img-responsive img-thumbnail" width="150" onerror="this.src='resource/images/gw-wx.gif'">
					</div>
					<!--div class="col-sm-2 text-right">
					是否开启此项:
						<input type="checkbox" name="flag" value="<?php  if($ridwall['baheshow']==1) { ?>1<?php  } else { ?>0<?php  } ?>" <?php  if($ridwall['baheshow']==1) { ?>checked<?php  } ?> data-type="bahe"/>
					</div-->
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='lottory') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>抽奖</strong>
						</p>
						<p><strong>pc抽奖地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('lottory',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('lottory',array('rid'=>$id)))?></a></p>
						<br>
						<p class="weixin"><strong>微信抽奖地址：: </strong> <a href="javascript:;" style="color:#66667C;"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('app_lottory',array('rid'=>$id)))?></a></p>
						<img src="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('makeqrcode',array('url'=>$this->createMobileUrl('app_lottory',array('rid'=>$rid)))))?>" class="img-responsive img-thumbnail" width="150" onerror="this.src='resource/images/gw-wx.gif'">
					</div>
					<!--div class="col-sm-2 text-right">
					是否开启此项:
						<input type="checkbox" name="flag" value="<?php  if($ridwall['baheshow']==1) { ?>1<?php  } else { ?>0<?php  } ?>" <?php  if($ridwall['baheshow']==1) { ?>checked<?php  } ?> data-type="bahe"/>
					</div-->
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='shake') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>摇一摇</strong>
						</p>
						<p><strong>pc摇一摇地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('shake',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('shake',array('rid'=>$id)))?></a></p>
						<br>
						<p class="weixin"><strong>微信摇一摇地址：: </strong> <a href="javascript:;" style="color:#66667C;"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('app_shake',array('rid'=>$id)))?></a></p>
						<img src="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('makeqrcode',array('url'=>$this->createMobileUrl('app_shake',array('rid'=>$rid)))))?>" class="img-responsive img-thumbnail" width="150" onerror="this.src='resource/images/gw-wx.gif'">
					</div>
					<!--div class="col-sm-2 text-right">
					是否开启此项:
						<input type="checkbox" name="flag" value="<?php  if($ridwall['baheshow']==1) { ?>1<?php  } else { ?>0<?php  } ?>" <?php  if($ridwall['baheshow']==1) { ?>checked<?php  } ?> data-type="bahe"/>
					</div-->
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='cjx') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>抽奖箱</strong>
						</p>
						<p><strong>pc抽奖箱展示地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('cjx',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('cjx',array('rid'=>$id)))?></a></p>
						
					</div>
					
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='ddp') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>对对碰</strong>
						</p>
						<p><strong>pc对对碰展示地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('ddp',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('ddp',array('rid'=>$id)))?></a></p>
						
					</div>
					
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='xc') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>相册</strong>
						</p>
						<p><strong>pc相册展示地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('xc',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('xc',array('rid'=>$id)))?></a></p>
						
					</div>
					
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='xyh') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>幸运号码</strong>
						</p>
						<p><strong>pc幸运号码展示地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('xyh',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('xyh',array('rid'=>$id)))?></a></p>
						
					</div>
					
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='ddp') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>砸金蛋</strong>
						</p>
						<p><strong>pc砸金蛋展示地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('zjd',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('zjd',array('rid'=>$id)))?></a></p>
						
					</div>
					
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='dm') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>上墙弹幕</strong>
						</p>
						<p><strong>pc上墙弹幕展示地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('dm',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('dm',array('rid'=>$id)))?></a></p>
						
					</div>
					
				</div>
			</div>
		</div>
  </div>
   <?php  } else if($row=='xysjh') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>幸运手机号</strong>
						</p>
						<p><strong>pc幸运手机号展示地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('xysjh',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('xysjh',array('rid'=>$id)))?></a></p>
						
					</div>
					
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='zjd') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>砸金蛋</strong>
						</p>
						<p><strong>pc砸金蛋展示地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('zjd',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('zjd',array('rid'=>$id)))?></a></p>
						
					</div>
					
				</div>
			</div>
		</div>
  </div>
  <?php  } else if($row=='lizi') { ?>
	<div class="account">
		<div class="panel panel-default row">
			<div class="panel-body">
				<div class="clearfix">
					<div class="col-sm-10">
						<p>
							<strong>粒子签到</strong>
						</p>
						<p><strong>pc粒子签到展示地址： </strong> <a href="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('lizi',array('rid'=>$id)))?>" target="__blank"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('lizi',array('rid'=>$id)))?></a></p>
						<br>
						<p class="weixin"><strong>微信粒子签到地址：: </strong> <a href="javascript:;" style="color:#66667C;"><?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('app_qd',array('rid'=>$id)))?></a></p>
						<img src="<?php  echo str_replace('./','',$_W['siteroot'].'app/'.$this->createMobileUrl('makeqrcode',array('url'=>$this->createMobileUrl('app_qd',array('rid'=>$rid)))))?>" class="img-responsive img-thumbnail" width="150" onerror="this.src='resource/images/gw-wx.gif'">
					</div>
					
				</div>
			</div>
		</div>
  </div>
  <?php  } ?>
<?php  } } ?>
<script>
	  $(function(){
		$('.account .weixin a').each(function(){
			util.clip(this, $(this).text());
		});
	});
	

</script>
<?php (!empty($this) && $this instanceof WeModuleSite || 1) ? (include $this->template('common/footer', TEMPLATE_INCLUDEPATH)) : (include template('common/footer', TEMPLATE_INCLUDEPATH));?>